package com.xja.service;

import com.xja.entity.Indent;
import com.xja.entity.Register;
import com.xja.entity.Room;
import com.xja.entity.User;
import com.xja.entity.pojo.UrByIndent;

import java.sql.SQLException;
import java.util.List;

public interface ZhsService {
    public boolean addUser(User user);
    public List<User> fingAllUser();
    public List<Room> findRoom();
    public Integer findUserid(String name) ;
    public boolean indent(Indent indent);
    public List<Indent> selecIndent(Integer userid);
    public  Integer updateroomstatus(Integer roomid);
    public  Integer updateroomstatus1(Integer roomid);
    public boolean deleteIndent(Integer userid);
    public List<UrByIndent> selecIndentByName(String username);
}
